let pino = require('pino')

const now = new Date().getTime();

module.exports.logger = pino({
    level: 'trace',
    transport: {
        target: 'pino/file',
        options: {
            destination: `./logs/${now}.log`,
            mkdir: true
        }
    }
})